package com.jams.goodox.entity.resp;

import com.jams.goodox.net.BaseEntity;

import java.util.List;

/**
 * Created by chenjian on 2017/6/19.
 * 企业对外联系人
 */

public class EnterpriseContactsResp extends BaseEntity {

    /**
     * data : {"pageInfo":{"curPage":1,"hasMore":false,"pageSize":10,"total":0},"resultList":[{"externalIdentity":"3","headPicName":"http://121.40.102.80/img/201706/head/head149631053345058.png","sex":1,"userId":"405445fc-b981-494d-9631-181fbc67d1b9","userName":"顾佳"},{"externalIdentity":"3","headPicName":"http://121.40.102.80/img/head/head_user_s_default.png","sex":1,"userId":"b77f18e3-c11c-46dc-b558-323fbccdc8fa","userName":"万建影"}]}
     * status : 100
     */

    public EnterpriseContactsData data;

    public static class EnterpriseContactsData {
        /**
         * pageInfo : {"curPage":1,"hasMore":false,"pageSize":10,"total":0}
         * resultList : [{"externalIdentity":"3","headPicName":"http://121.40.102.80/img/201706/head/head149631053345058.png","sex":1,"userId":"405445fc-b981-494d-9631-181fbc67d1b9","userName":"顾佳"},{"externalIdentity":"3","headPicName":"http://121.40.102.80/img/head/head_user_s_default.png","sex":1,"userId":"b77f18e3-c11c-46dc-b558-323fbccdc8fa","userName":"万建影"}]
         */

        public PageInfoBean pageInfo;
        public List<EnterpriseContactsResultListBean> resultList;

        public static class PageInfoBean {
            /**
             * curPage : 1
             * hasMore : false
             * pageSize : 10
             * total : 0
             */

            public int curPage;
            public boolean hasMore;
            public int pageSize;
            public int total;
        }

        public static class EnterpriseContactsResultListBean {
            /**
             * externalIdentity : 3
             * headPicName : http://121.40.102.80/img/201706/head/head149631053345058.png
             * sex : 1
             * userId : 405445fc-b981-494d-9631-181fbc67d1b9
             * userName : 顾佳
             */

            public String externalIdentity;
            public String headPicName;
            public int sex;
            public String userId;
            public String userName;
        }
    }
}
